<tr id="topic-<%= topic.id %>" class="topic border-bottom link-row admin-discussion">
  <td>
    <%= check_box_tag "topic_ids[]", topic.id, false, class: 'topic-checkbox pull-left' %>
    <span class="user-thumbnail pull-right hidden-xs">
      <%= link_to avatar_image(topic.user, size=40), admin_user_path(topic.user.id), remote: true if topic.user.present? %>
    </span>
  </td>

  <td>
      <span class="more-important truncate-ellipsis">
        <%= link_to "##{topic.id}- #{topic.name}", admin_topic_path(topic, status: @status), remote: true, class: "click-loader topic-link topic-link-#{topic.id}" -%>
        <%= badge_for_status(topic.current_status) %>
        <%= badge_for_public if forums? and !topic.private? %>
        <%# tag_listing(topic.team_list) %>
      </span>
    <span class="less-important user-link">
      <%= started_by(topic) %>
      <%= user_priority(topic.user) unless topic.user.nil? %>
      - <%= assigned_to(topic) %>
    </span>
  </td>

  <td class="last-active less-important text-right hidden-xs">
    <span class="label label-count hidden-xs pull-left"><%= topic.posts_count %></span>
    <%= last_active_time(topic.updated_at) %>
  </td>
</tr>
